/*
 * @Author: cgl
 * @Date: 2023-04-21 17:33:43
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-21 17:34:06
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\institution.js
 * @Description: 区域管理接口
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询列表
export function areaList(params) {
  return request({
    url: '/system/area/list',
    method: 'get',
    params,
  })
}
// 获取部门树列表
export function areadeptTree(data) {
  return request({
    url: `/system/area/deptTree`,
    method: "post",
    data,
  });
}
// 获取详细信息
export function getInfoarea(id) {
  return request({
    url: '/system/area/getInfo/' + id,
    method: 'get'
  })
}